package com.ruoyi.system.service;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.entity.PreventionRiskOught;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * <p>
 * 风险应知卡 服务类
 * @since 2023-03-10
 */
public interface PreventionRiskOughtService {

    List<PreventionRiskOught> queryByPage(PreventionRiskOught preventionRiskOught);

    PreventionRiskOught queryById(Integer id);

    PreventionRiskOught insert(PreventionRiskOught preventionRiskOught);

    PreventionRiskOught update(PreventionRiskOught preventionRiskOught);

    boolean deleteById(Integer id);

    AjaxResult fillPDFData(Integer id, HttpServletRequest request, HttpServletResponse response);
}
